package com.choosefine.it.worker.dao;
import java.util.List;
import java.util.Map;

import com.choosefine.it.base.dto.PageDTO;
import com.choosefine.it.worker.model.FindWork;
import com.choosefine.it.worker.model.vo.PublishMgtWorkerVO;
import com.github.pagehelper.Page;

public interface FindWorkMapper {
	int deleteByPrimaryKey(Integer id);

    int insert(FindWork record);

    int insertSelective(FindWork record);

    FindWork selectByPrimaryKey(Integer id);
    
    Page<FindWork> selectByRegionAndWorkType(Map<String, Object> map);
    
    int selectCountByRegionAndWorkType(Map<String, Object> map);
    
    List<FindWork> selectWorkerAll();

    int updateByPrimaryKeySelective(FindWork record);

    int updateByPrimaryKey(FindWork record);
    
    Page<PublishMgtWorkerVO> getWorkerPublishmgtInfoByType(Map<String,Object>map);
    
    int deleteWorkerPublishmgtByPrimaryKey (Integer id);
    Page<PublishMgtWorkerVO> selectUserInfoByRealName(String publisher);
    
    int updateStatusById (Map<String,Object> map);

}